package com.ccs.onlinemusic.mapper;

import com.ccs.onlinemusic.model.Music;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface MusicMapper {
    int insert(String title,String singer,String time,String url,int userid);

    int deleteMusicById(int id);

    Music findMusicById(int id);

    List<Music> findMusic();

    List<Music> findMusicByMusicName(String musicName);


}
